package com.icw;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@EnableCaching
public class ApiApplication {

	public static void main(String[] args) throws Exception {
		((InitializingBean) Class.forName("com.icw.configuration.lifecycle.BeforeAppLaunch").getConstructor().newInstance()).afterPropertiesSet();
		SpringApplication.run(ApiApplication.class, args);
	}
}
